package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.comment.query.StrategyCommentQueryObject;

import java.util.List;

public interface IStrategyCommentService {
    /**
     * 保存/新增一条评论
     * @param comment
     */
    void save(StrategyComment comment);

    /**
     * 回显评论
     * @param qo
     * @return
     */
    Object query(StrategyCommentQueryObject qo);

    /**
     * 给评论点赞
     * @param toId 评论id
     * @param fromId 当前登录用户id
     */
    void commentThumbUp(String toId, Long fromId);

}
